<!--Copyright (C) Kherty.  All rights reserved.-->
<UserControl
    x:Class="OpenLS.Spreadsheet.UI.CustomSortControl"
    xmlns:ssui="clr-namespace:OpenLS.Spreadsheet.UI"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Internals="clr-namespace:OpenLS.Spreadsheet.UI.Internals"
    xmlns:Internals1="clr-namespace:OpenLS.UI.Internals;assembly=OpenLS.UI"
     Width="300" Height="200">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ssui:SortStateResources/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <DockPanel>
    <DockPanel.Resources>
            <ResourceDictionary>
                <ResourceDictionary.MergedDictionaries>
                    <ssui:DialogResources/>
                </ResourceDictionary.MergedDictionaries>
            </ResourceDictionary>
    </DockPanel.Resources>
    <DockPanel DockPanel.Dock="Bottom" LastChildFill="False">
      <Button IsCancel="True" DockPanel.Dock="Right"  Content="{x:Static Internals1:UIStringTable.Cancel}"></Button>
      <Button IsDefault="True" DockPanel.Dock="Right"  Content="{x:Static Internals1:UIStringTable.OK}"></Button>
    </DockPanel>
    <ContentControl Content="{Binding}" />
  </DockPanel>
</UserControl>
